package com.bdgj.dao;

import java.util.List;

import com.bdgj.bean.UserInfoBean;

public interface UserInfoBeanDao {
    int deleteByPrimaryKey(Integer userId);

    int insert(UserInfoBean record);

    int insertSelective(UserInfoBean record);

    UserInfoBean selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(UserInfoBean record);

    int updateByPrimaryKey(UserInfoBean record);
    /**
     * 普通用户登录查询
     * @param userB
     * @return
     */
    List<UserInfoBean> selectLoginUser(UserInfoBean userB);
}